package com.mornd.gulimall.coupon.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mornd.gulimall.apis.coupon.to.SeckillSessionTo;
import com.mornd.gulimall.coupon.entity.SeckillSession;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 秒杀活动场次 服务类
 * </p>
 *
 * @author mornd
 * @since 2023-08-05
 */
public interface ISeckillSessionService extends IService<SeckillSession> {

    IPage<SeckillSession> pageList(SeckillSession session);

    List<SeckillSessionTo> latestDaysSeckillSessions(int day);
}
